Explain, how to suppress Tramp warnings
authorMichael Albinus <michael.albinus@gmx.de>
Wed, 2 Apr 2025 16:37:22 +0000 (18:37 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 2 Apr 2025 16:37:22 +0000 (18:37 +0200)
* doc/misc/tramp.texi (Frequently Asked Questions): Remove double item.
(Traces and Profiles): Mention `warning-suppress-types'.  (Bug#77422)

doc/misc/tramp.texi

index 5a2e44456ee36b64f703fa6a3d35716849ff3652..280feb084d1d1b9b7d324ddb196c528efe8df984 100644 (file)
@@ -6204,17 +6204,6 @@ If these errors can be ignored, set user option
 non-@code{nil} value.  This transforms the error into a warning.
 
 
-@item
-How to ignore errors when changing file attributes?
-
-@vindex tramp-inhibit-errors-if-setting-file-attributes-fail
-Sometimes, for example while saving remote files, errors appear when
-changing file attributes like permissions, time stamps, or ownership.
-If these errors can be ignored, set user option
-@code{tramp-inhibit-errors-if-setting-file-attributes-fail} to a
-non-@code{nil} value.  This transforms the error into a warning.
-
-
 @item
 How to disable other packages from calling @value{tramp}?
 
@@ -6648,6 +6637,15 @@ the following settings are required:
 @end group
 @end lisp
 
+@vindex warning-suppress-types
+@value{tramp} warnings are displayed in the @file{*Warnings*} buffer,
+which pops up.  If you don't want to see this buffer for every
+@value{tramp} warning, set @code{warning-suppress-types}:
+
+@lisp
+(setq warning-suppress-types '((tramp)))
+@end lisp
+
 If @code{tramp-verbose} is greater than or equal to 10, Lisp
 backtraces are also added to the @value{tramp} debug buffer in case of
 errors.